@extends('layouts.app')
@include('shared.top_bar')
@section('content')
  <div id="ajax-content">
    
  </div>
  <div class="hidden" id="spinner">
  <div class="overlay loading"></div>
  </div>
@endsection


@section('javascript')

<!-- JavaScripts -->

<script src="{{asset('js/all.js')}}"></script>
<script>
  isWechat = '{{Session::get('wechat')}}';
  portRefuse = '{{Session::get('port_refuse')}}';
  trans = {};

  @foreach (trans('user') as $key => $value)
    @unless (is_array($value))
      trans['user.{{$key}}'] = "{{ $value }}";
    @endunless
  @endforeach

  @foreach (trans('common') as $key => $value)
    trans['common.{{$key}}'] = "{{ $value }}";
  @endforeach

</script>
<?php /* other wscripts */ ?>
@endsection